<script setup lang="ts">
// import dayjs from "dayjs";
// import MdEditor from "md-editor-v3";
import HomePie from "../chart/HomePie.vue";
// import { getReleases } from "@/api/list";
import TypeIt from "@/components/ReTypeit";
import { useWindowSize } from "@vueuse/core";
import { ref, computed, onMounted, reactive, markRaw } from "vue";
// import Github from "./components/Github.vue";
// import { randomColor } from "@pureadmin/utils";
// import { useRenderFlicker } from "@/components/ReFlicker";

defineOptions({
  name: "HomeChart"
});

const list = ref();
const loading = ref<boolean>(true);
const titleClass = computed(() => {
  return ["text-base", "font-medium"];
});

// 监听窗口大小
const { height } = useWindowSize();

setTimeout(() => {
  loading.value = !loading.value;
}, 800);

onMounted(() => {});
</script>

<template>
  <div>
    <HomePie />
  </div>
</template>

<style lang="scss" scoped>
:deep(.el-timeline-item) {
  margin: 6px 0 0 6px;
}

.main-content {
  margin: 20px 20px 0 !important;
}
</style>
